package com.itheima.HomeWork.Work2;

public class TestTeacher {
    public static void main(String[] args) {
        Teacher teacher1=new Teacher();
        teacher1.setName("赵柳");
        teacher1.setWorkID("2911");
        teacher1.teach();
        System.out.println("--------");
        Teacher teacher2=new Teacher("王五","2332");
        teacher2.teach();
    }
}
